package com.anpy.common.service.exception;

/**
 * 业务异常处理
 **/
public class BusinessException extends RuntimeException{
    private static final long serialVersionUID = 1L;
    public BusinessException() {
        super("服务器异常");
    }
    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Object... args) {
        super(args.toString());
    }

    public BusinessException(int code, String message) {
        super(message);
    }

    public BusinessException(Object[] args, String message, Throwable cause) {
        super(message);
    }

}
